import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-index',
  templateUrl: './index.component.html',
  styleUrls: ['./index.component.css']
})
export class IndexComponent implements OnInit {

  data = [
    { author: 'YxMadOC',
      title: 'aaaaaaaaaaaa',
      content: 'afwawwwwwwwwwwwwwww',
      updateTime: '2017-02-06'
    },
    { author: 'YxMadOC',
      title: 'aaaaaaaaaaaa',
      content: 'afwawwwwwwwwwwwwwww',
      updateTime: '2017-02-06'
    },
    { author: 'YxMadOC',
      title: 'aaaaaaaaaaaa',
      content: 'afwawwwwwwwwwwwwwww',
      updateTime: '2017-02-06'
    }
    ];

  constructor() { }

  ngOnInit() {
  }

}
